type Info = {
    name: string
    frind?: {
        name: string,
        age?: number
    }
}

const info: Info = {
    name: 'zhansan',
    // frind: {
    //     name: 'lisi',
    // }
}

console.log(info.frind?.name)